package com.minelx.serverandclient.connector;

import java.io.Closeable;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

public interface ITubes extends Closeable {
	InputStream in();

	OutputStream out();

	default void closeAnyway() {
		try {
			close();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}
